package cn.stylefeng.guns.modular.school.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 班级教师课程关系
 * </p>
 *
 * @author 
 * @since 2019-12-01
 */
@TableName("xx_class_teacher_lession")
public class ClassTeacherLession implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 班级
     */
    @TableField("class_id")
    private Integer classId;

    /**
     * 教师
     */
    @TableField("teacher_id")
    private Integer teacherId;

    /**
     * 课程
     */
    @TableField("lession_id")
    private String lessionId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getClassId() {
        return classId;
    }

    public void setClassId(Integer classId) {
        this.classId = classId;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getLessionId() {
        return lessionId;
    }

    public void setLessionId(String lessionId) {
        this.lessionId = lessionId;
    }

    @Override
    public String toString() {
        return "ClassTeacherLession{" +
        "id=" + id +
        ", classId=" + classId +
        ", teacherId=" + teacherId +
        ", lessionId=" + lessionId +
        "}";
    }
}
